*Table A2: Descriptive Statistics by Year and Gender: Performance Variable

clear all 
use Clean_data, clear

***********************TA2.DESCRIPTIVES_PERFORMANCE****************
gen prop_corr= test_correct/answered
sort year
tabstat merits_points dropout  if  female==0 & foreign==0, by(year)
tabstat merits_points dropout  if female==1 & foreign==0, by(year)
tabstat answered prop_corr test_points total_points position if degree=="M" & dropout==0 & female==0 & foreign==0, by(year)
tabstat answered prop_corr test_points total_points position if degree=="M" & dropout==0 & female==1 & foreign==0, by(year)

count if allSPANISH==1 & female==0
count if allSPANISH==1 & female==1


count if testSPANISH==1 & female==0 & year!=1987 & year!=1988
count if testSPANISH==1 & female==1 & year!=1987 & year!=1988

count if testSPANISH==1 & female==0 
count if testSPANISH==1 & female==1 



